package command;

import java.util.Date;

import domain.Profile;

public class GraduateForm extends UserForm {
	private String studentCode;
	
	private Date birthdate;
	
	public GraduateForm() {
		
	}
	
	public GraduateForm(Profile profile){
		super(profile.getUser());
		this.studentCode = profile.getStudentcode();

		this.birthdate = profile.getBirthdate();
	}

	public String getStudentCode() {
		return studentCode;
	}

	public void setStudentCode(String studentCode) {
		this.studentCode = studentCode;
	}
	
	public Date getBirthdate() {
		return birthdate;
	}

	public void setBirthdate(Date birthdate) {
		this.birthdate = birthdate;
	}

}
